﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;

namespace Client
{
    class SQLHelper
    {
        public void connectSQLServer()
        {
            Server srv;
            srv = new Server();
            //The connection is established when a property is requested. 
            Console.WriteLine(srv.Information.Version);

            Table tb = default(Table);
            
        }
    }
}
